package com.jiangxiaofei.citycloud.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/9/13 0013.
 */

public class MapWorkBean implements Parcelable {

    /**
     * description : a
     * id : 1
     * lat : 1
     * log : 1
     */

    private String description;
    private String id;
    private String lat;
    private String log;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.description);
        dest.writeString(this.id);
        dest.writeString(this.lat);
        dest.writeString(this.log);
    }

    public MapWorkBean() {
    }

    protected MapWorkBean(Parcel in) {
        this.description = in.readString();
        this.id = in.readString();
        this.lat = in.readString();
        this.log = in.readString();
    }

    public static final Parcelable.Creator<MapWorkBean> CREATOR = new Parcelable.Creator<MapWorkBean>() {
        @Override
        public MapWorkBean createFromParcel(Parcel source) {
            return new MapWorkBean(source);
        }

        @Override
        public MapWorkBean[] newArray(int size) {
            return new MapWorkBean[size];
        }
    };
}
